import { createApp } from 'vue'
// import './style.css'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css';
import Vant from 'vant';
import 'vant/lib/index.css';
import "./style/tailwind.css";

import Vuex from 'vuex';
import key from './store/key';

const store = new Vuex.Store({
    modules: {
        key
    }
});

import { library } from '@fortawesome/fontawesome-svg-core'
import { fas } from '@fortawesome/free-solid-svg-icons'
import { far } from '@fortawesome/free-regular-svg-icons'
import { fab } from '@fortawesome/free-brands-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
library.add(fas,far,fab)
// 图片库

createApp(App).component('font-awesome-icon', FontAwesomeIcon).use(store).use(router).use(ElementPlus).use(Vant).mount('#app')

// createApp(App).mount('#app')
